import request from '@/utils/request'

// 查询鱼塘评价列表
export function listPondReview(query) {
  return request({
    url: '/pond/pond/commentPond',
    method: 'get',
    params: query
  })
}

// 查询鱼塘评价详细
export function getPondReview(id) {
  return request({
    url: '/pond/pond/commentPond/' + id,
    method: 'get'
  })
}

// 新增鱼塘评价
export function addPondReview(data) {
  return request({
    url: '/pond/pond/commentPond',
    method: 'post',
    data: data
  })
}

// 修改鱼塘评价
export function updatePondReview(data) {
  return request({
    url: '/pond/pond/commentPond',
    method: 'put',
    data: data
  })
}

// 删除鱼塘评价
export function delPondReview(id) {
  return request({
    url: '/pond/pond/commentPond/' + id,
    method: 'delete'
  })
}
